﻿#include "settingwidget.h"
#include "ui_settingwidget.h"

SettingWidget::SettingWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::SettingWidget)
{
    ui->setupUi(this);
}

SettingWidget::~SettingWidget()
{
    delete ui;
}

void SettingWidget::on_btn_main_clicked()
{
    this->hide();
    emit goMainWidget();
}

void SettingWidget::on_btn_record_clicked()
{
    this->hide();
    emit goRecordWidget();
}

void SettingWidget::on_btn_password_clicked()
{
    this->hide();
    emit goPasswordWidget();
}

void SettingWidget::on_btn_serial_clicked()
{
    this->hide();
    emit goSerialWindow();
}
